package com.zy.datareceiver.binsess.monitoring.entity;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name = "monitoring_device_parameter")
public class MonitoringDeviceParameter {
    /**
     * 监测设备id
     */
    @Column(name = "device_id")
    private Integer deviceId;

    /**
     * 中间表id
     */
    private Integer id;

    /**
     * 监测参数id
     */
    @Column(name = "parameter_id")
    private Integer parameterId;

    /**
     * 获取监测设备id
     *
     * @return device_id - 监测设备id
     */
    public Integer getDeviceId() {
        return deviceId;
    }

    /**
     * 设置监测设备id
     *
     * @param deviceId 监测设备id
     */
    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    /**
     * 获取中间表id
     *
     * @return id - 中间表id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置中间表id
     *
     * @param id 中间表id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取监测参数id
     *
     * @return parameter_id - 监测参数id
     */
    public Integer getParameterId() {
        return parameterId;
    }

    /**
     * 设置监测参数id
     *
     * @param parameterId 监测参数id
     */
    public void setParameterId(Integer parameterId) {
        this.parameterId = parameterId;
    }
}